home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / env.z / env
Text File  |  1998-10-20  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. EEEENNNNVVVV((((1111))))                                                                  EEEENNNNVVVV((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      env, printenv - set environment for command execution, print environment
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      eeeennnnvvvv [----iiii] [----] [ name=value ... ] [ command args ]
  13.      pppprrrriiiinnnntttteeeennnnvvvv [ name ]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      _E_n_v obtains the current _e_n_v_i_r_o_n_m_e_n_t, modifies it according to its
  17.      arguments, then executes the command with the modified environment.
  18.      Arguments of the form _n_a_m_e====_v_a_l_u_e are merged into the inherited
  19.      environment before the command is executed.
  20.  
  21.      If no command is specified, the resulting environment is printed, one
  22.      name-value pair per line.
  23.  
  24.      _P_r_i_n_t_e_n_v prints out the names and values of the variables in the
  25.      environment, with one name/value pair per line.  If _n_a_m_e is specified,
  26.      only its value is printed.  If _n_a_m_e is not defined in the environment,
  27.      _p_r_i_n_t_e_n_v returns exit status 1, else it returns status 0.
  28.  
  29. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  30.      _----_iiii   Invoke command with exactly the environment specified by the
  31.           arguments; the inherited environment will be ignored ocmpletely.
  32.  
  33.      _----    Obsolescent form of _----_iiii.
  34.  
  35. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  36.      csh(1), sh(1), exec(2), profile(4), environ(5)
  37.  
  38. BBBBUUUUGGGGSSSS
  39.      _E_n_v doesn't handle commands with equal (``='') signs in their names, for
  40.      obvious reasons.
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.